#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_TreasureMap.nanopb.h"
#ifndef MAX_TREASUREMAP_TREASUREMAPPOSITION_NUM
#define MAX_TREASUREMAP_TREASUREMAPPOSITION_NUM 40
#endif

class TreasureMapPositionDesc : public NFI_DESC_TEMPLATE_MACRO(TreasureMapPositionDesc, E_TreasureMapPosition, EOT_CONST_TREASUREMAP_TREASUREMAPPOSITION_DESC_ID, MAX_TREASUREMAP_TREASUREMAPPOSITION_NUM)
public:
	TreasureMapPositionDesc();
	virtual ~TreasureMapPositionDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
